added listAllFeatureIds and check that features exist when setting selection