more concise logic for selecting editable events