Taking things too literally?
Wait a minute: it was a spell, right? A magic spell?
(Is it really necessary to argue physical laws when they don't apply?)
It could very well be that the spell itself does affect "metals" because of their inherent "metalness", just in the way that an alchemist...