Check to see if expression is just a double, if so don't walk the tree

* This speeds up analysis significantly (1.5x)