I think trying to cast to the different kind of expressions here is our best bet

I am pretty sure I'll have to do something similar with the Filter expression later
on.