Fix issue where type was lost when creating survey
Little more detail in comment
Merge pull request #28 from LocalData/typefix

Typefix