moved collection categories filtering logic into a controller