MOB-2297 Don't update categories without changes

Well... The question is - do we want to trim them? Because right here it's only for validating, we don't change user data permanently.