fix "times" condition to not run one extra, RT#11834