Fix error path when parsing Datum