Fixed quote string escape sequence in queries

Also, fixed "is" in copyright notice.