Fix broken type switch
Merge pull request #13 from sean-duffy/CellTypeDate-fix

Fix broken type switch