Reverted changes to createCondition(), not needed.