If none features is selected, allFeatureIds() is not called