We fixed an issue with the custom SQL parser that would sometimes cause the API to return an error for valid SQL.