Fixed bug with respect to switch from daylight saving time to normal time