Add divs only to the outer analyses.

This fixes an issue where multi-level analyses overflowed into the rhs.