Weird issue with how checkboxes are retrieved