Small fix in CheckClass.