Catch circular inheritance by detecting recursion blowout.