fixed wrong SQL in deleteRegularPayment