underflowing indentation level has nasty consequences, so this works around that and logs the problem.