Added if statement on details page to check if survey has questions