Reuse method for querying for a date range

It's also used for the other LPA modules. Using the same so we query for
the same week.