Fixes where payment was calculated when it could not