This replace is wrong when the query is more than one word. Probably that's what Kevin talked about.