Fix parsing return values for zero parts, and allow zero when len(part) == 1