major bug fix in CompleteCondition class