Escape backslashes in queries; temporary fix while I investigate a more robust solution using the Velocity EscapeTool