Fix for a datatype parsing bug that Tim found.