Fixed DateDiffComparisonWhereCondition and added conditions tests