Fix bug with delete button when none selected.