Improve "bad parent" and "bad child list" assertions in line boxes