Bugfix in single_survey