Fix an infinite recursive loop.