Fix off-by-one error in nanoseconds validation.

Submitted by:	bde