HPCC-11775 Fix unrelated bug spotted during review

If before/after heads match, but have differing tail '-<n>'
extensions, no wildcard would be added and the iterator would
not pick them up.

Highly unlikely ever hit in practice.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>