fixing nested list bug
Merge remote-tracking branch 'lukasoppermann/fix-nested' into jmagnusson