Fixing templating on hour