Fix bug in disabling/enabling delete button

When page is refreshed, the delete button should be enabled/disabled dependent on whether or not any checkboxes have been checked.