Fix bug in Zendesk #14534: Bad SQL leads to fatal error.
Fix bug in Zendesk #14534: Bad SQL leads to fatal error.

Reference: https://pogstone.zendesk.com/agent/tickets/14534

Jmanage/com.pogstone.paymentprocessorhelper