Skip any parts that don't point to valid entities.