MDL-38147 fixed small bug on changed categories cache