Handle deselection on removed items, fixes noflo/noflo-ui#57