Fixed issue with activating typeOfSample

https://www.pivotaltracker.com/story/show/82239060
Merge pull request #442 from pfschwartz/develop

Fixed issue with activating typeOfSample