Change to the Book query to add date variables