Elaborate loop in importRespondents()