Minor tweaks to TZ handling, also fixed bug in function that returns (year,week) tuple in the event that DB has previous weeks