Fix horrible parser performance on nested lists