Fix bug in ajax results caused by showing questions without responses