Implement filtering by category, fixes #103