fixed an issue with ListTypes and NullTypes where it didn't perform a null check on read correctly