Minor changes to query.coffee
Merge pull request #2 from vaibhavbhat16/master

Fixed incorrect string replacement