Fixes bug with _isSelected and deleting an item with enter

Fixes #441