Fix Query Analyzer Step Misalignment for Calculated Steps

Description:

When a report contains calculated steps placed between database object steps, the Analyze panel displays incorrect SOQL mappings.
Example: If Step 6 is a calculated step, the analyzer incorrectly displays the SOQL for Step 7.
All calculated steps always appear at the end in the analyzer with “No Query Data Found!”, regardless of their actual order in the report. This misalignment causes user confusion and forces them to place all calculated steps at the end as a workaround.

Requirement:
Ensure the Query Analyzer correctly reflects the actual order of report steps and associates the right SOQL query with each respective database step, even when calculated steps appear in between.