Pass conditions have properties, but the dates are not parsed.
fixed handling of dates in flattenProperties function.