fix for debts payment issue described in https://libraryding.lighthouseapp.com/projects/27862/tickets/1935-alma-fejler-ved-delvis-betaling#ticket-1935-2 - see also commit from bombycilla at https://github.com/bombycilla/alma/commit/c5c4328cb1bee34ed2cf71cec510d9e9fe984989