Search.hs: implement search with filters