Do not return next block production time in the past (resolves #362)