Fix foreach / try-catch inversion

Went too fast on timezone fix #57
Merge pull request #59 from bksunday/patch-1

Fix foreach / try-catch inversion