fix renaming of outputs referencing questions in groups

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