LPS-38299 filter by mimetype properly in media gallery (filter when searching, not in the frontend)