Edit checkSurveyAssignment() success condition