Play nice with java.time. Fix where date comparisons were being done with an equality check.