Remove obsolete query escape