key_commit: Added a new diagnostic for removing orphaned penalties