MOB-2297 Don't update categories without changes

This can be any integer, no matter parent category or not.