Fixed the way regions were calculated because LON only has 1.

Hi dman777,

I fixed the way the regions were calculated, but my tests fail to set the headers in either your version of the code or mine.

Miguel