fixed filtering by category