MOB-2297 Don't update categories without changes

`.some` is about 100% slower than regular loop:
http://jsperf.com/array-some-vs-loop/3