Fixing date range Variable Header when passed through a FilterHeader

When using a FilterHeader, the date range selected for the current report is not correctly passed through to the next report.

This PR uses the numeric indexes for the daterange macro values so they can be passed through to the report specified in the FilterHeader.