key_commit: Fixed a bug that resulted in some penalties getting deleted