Fix where condition to 'categories'.