Add filter functionality to Collection.hs