using date ranges to check if any events overlap in auto assignment