I think I remember Dawnseeker commenting on a similar thread elsewhere saying that sanctifying is random and it is. You were just unlucky with your Karthus. There have been players who have physical attack heroes sanctified with a magic attack bonus (?!) so you've joined a distinguished group lol.

It sucks and it's unfair I agree but it doesn't seem likely it's going to be changed.