Remove newlines between nested list previous list level