Fix for Oracle SQL escaping problem. Closes #177