The segments shown in the screenshots are not equal. The first returns the visits where at least one hit matches the criteria, the second one returns only those hits that match the criteria. The second segment returns a subset of the first segment.
To make the segments equal you should either set "Include Hit" in the first segment or set "Include Visit" in the second one. Try and let us know the result.