Fix an issue which would break payouts

According to an issue posted by JRWR. https://github.com/zone117x/node-open-mining-portal/issues/364

This has been observed on TeamDoge; and has caused a few issues!