Fixed a bug in the checkboxes where zero indexed values would never appear