Fixes bug with _isSelected and deleting an item with enter