Fixing type checking of expression lists

Damn this was ugly. Ah well.