conditionsSatisfied method logic fix