made the range search for reports more efficient