Recognize location types in select2 search plugin