Fixed tailrecursion check for infix operators.