Fix logic in cannot_be_paid (bug 938716)
Merge pull request #1476 from muffinresearch/fixups-bug-938716

Fix logic in cannot_be_paid (bug 938716)