fixed "any" constraints
added datepart handling