key_commit: Fixed a problem with the autonumbering of assessments