hide query searchbox if there are no groups