transforming CASE expressions. This was definitely confusing FigureColname, and might lead to bad things elsewhere as well.