Made permalink execution robust against bad timezones