Fixed formatting of nested lists