fix for comparing date ranges
0.10.2