Fixed error with category filter