Bugfix for cosmic track splitting alignment validation

These fixes are needed for the validation to run, because of 7X and other recent improvements.

Backport of #6244