key_commit: Fixed some places where mailLog Paid records could have been deleted by accident