Fixed bug in server time delta calculation