PIM-3326: Fix mongo db filters for categories