[FIXED JENKINS-18119] More compatible fix: make ts_refresh work again.