fix type switching on solutions

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