Adjust server to strip off enclosing quotes in queries