fixes issue where Safari ignores lowercase synonyms due to not searching midstring