Alters entityreference autocomplete queries to match smart quotes.