handle broken groups in search