Fix termination condition for distribution validation strategy.