[FIX] survey: Prevent template crashing while there are no data for the survey
[MERGE][FIX] survey: Prevent template crashing while there are no data for the survey