SelSmall ignores whether objects are hidden or locked when grouped - Bug?

Trying to filter specific objects and I noticed that SelSmall seems to select anything that is hidden as well as anything that is locked or on a locked layer if the objects are grouped together. Since it doesn’t highlight the locked objects (even though they seem to be selected - when I move with gumball the locked objects move as well) I’m assuming this is a bug as I cannot see a reason for having that as a feature?

SelSmall.3dm (41.8 KB)