Fixing nested list formatting