Fixes Twitter Typeahead Rails issue where 0.10.2 breaks locale key filtering