fix issue with category filter using "name" instead of "id"