Fixed a bug in datumConditionLookup setting