Fixed recursion.