Wrap generator in list() so mmbership test won't fail on 2.6