Fixed bug which caused only one of many new payments to be applied to NS

After `@persisted == true` any additional new payments would not be created.

Also renamed record to deposit for more clarity.