make checkboxes checked if selected='selected'

This is helpful so that data-selected isn't always needed