Fixed a bug in the part combiner