Fix endless recursion

review944002
(transplanted from 59a966b37c3ebeb05a5a63a5c19f5b2e3598f55f)

--HG--
extra : transplant_source : Y%A9f%B3%7C%3E%BE%B0ZZc%A5%C1%9F%5B.5%98%F5_