Fixed nesting of list elements