Fix category filtering