Fix horrible bug when displaying survey.