Patches error in applied payments sql delete clause
Introduced the AuditLogRepository