Corrected the initial setting of the checkmarks.