fixes #2474 survey tab edit mode 500--just a typo

same as to master