key_commit: Fixed a serious speed issue with the receipt amount fixes I implemented last week.