added summary statement for date range when it exists