Fix selection and deletion in log view.