fixed issue when selected taxon is deleted