Fixed issue with activating typeOfSample

https://www.pivotaltracker.com/story/show/82239060