Fix custom data type bug (actual data type was not being parsed)