Fixed timezone issue with new sequence calculation.