MDL-40390 mod_survey: fixed issue. Thanks Joseph.