Don't show wrong error messages about changed preference types
(regression of "Allow change preference type" commit, 6a900af195d6ca62ea328e8b44c0a19909d0baac)