Implemented search filtering