PaymentInfoImpl should remove orphans on property `details`.

Issue #399