Removed useless code that might cause unlimited recursion.