Fix: Bad SQL request when using filter on category.