Fix typo causing deep recursion