Fix nesting lists