Sanitize all attribute types on updates, otherwise we can put incorrect data into the database but not get it out of there again.