Fix list nesting