made it a little easier to work with the query constructor. remove escaped slashes from the front end