MDL-46036 mod_survey: added logic to prevent user trying to download when there are no results