[fix bug 991553] excluding invisible groups from UI

If you make the changes suggest in `managers.py` you don't need to do this check.