Right-hand expressions now preserve original case

This resolves an issue where processed  expressions were incorrectly
returned in LOWER case, causing errors in WHERE evaluations