Fix bug with srvTime = NaN