Fixed the issue for survey display in front end when "Survey is created but not published"