Changes to merge result sets from multiple legs range calcs