fixes bug in PointerCalculator:unite
Adds support for expressions in IndexAwareScan