fix question type switching regression

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