[fix bug 991553] excluding invisible groups from UI

It's good, probably I missed something :)