prevent fatal error when `CRM_Core_DAO::executeQuery` called