Revert "Revert "Small fix to make sure there was actually a category filter""

This reverts commit d0d6bc2700d733bf54c1d87e3dc14fa3b03bc8ad.