Fixes #select2 to work with or without a search string