Small fixup to ensure variables are expanded in a SELECT list (which they probably shouldn't be in anyway!)
Authored by: mikeaubury 2010-06-25
Parent: [r11758]
Child: [r11760]