Fix filtering of select2 fields