Implement category filtering