fixed function "of_range"
report only the events of the requested year