Add datetime/duration consistency check