ChoiceListView: Guard against being removed from the DOM

Fixes #297.