Bugfix for datatype parsing