Fixed issue with removing a paymentLog