handle errors in output refs on question load

http://manage.dimagi.com/default.asp?111497