Fix sub-TOCs in small layout