fixed bug for results pages of surveys with no respondents breaking the app