fix question type switching regression

http://manage.dimagi.com/default.asp?118340
build file
Merge pull request #220 from dimagi/question-type-change

fix question type switching regression