Fix cochange metrics calculation.
Fix final date time, adjusted to 23:59:59:999