Fix control for "kind" in author mode.
Fix bugs in model functions isComplete() and getCorrectness()