Fixes regression issue where checkboxes might always be initially checked