Double nesting list formatting improved