Is the nature of magnetic order in copper-oxides and iron-pnictides different?