BlockAlignmentScanner now avoids recursing into a tag block more than once