Bug: When executing the EqualsExpression after an update it returns wrong results

Added a test for this. This test fails in the current state.
I assume for this test to pass the EqualsExpression needs to be fixed.
This line causes the bug.
GenericExpressionValue would work, but EqualsExpression is still used in the Predicate builder of the SimpleTableScan.