don't show user if flag is set; also, do same check in both all and team level query