fixed getCategories query for 'client2' client