Fix checkbox selection value assignment.
Update check for expected value