No trailing slash.
Wrong variable name prevents correct document age judgement.
Reset updated count.
Included non-participant countries.
Included an error message when there is no document in the requested group.