Fixed bug (/0) when two points have the same datetime