Make sure not to produce non-argument leaf plans for arguments
Fix for the cardinality estimation in presence of arguments.
Removed double counting of expand when estimating cardinality
Remove code that flushes the schema state if there are more than 10_000 updates
Merge pull request #3360 from pontusmelke/cardinality-fix

Fix for the cardinality estimation in presence of arguments
Merge pull request #3363 from davidegrohmann/2.2-revert-flush-schema

Remove code that flushes the schema state if there are updates
Merge pull request #3367 from pontusmelke/cardinality-tweak

Removed double counting of expand when estimating cardinality
Fixes a problem with StringEncoder encoding strings inproperly

probably introduced while removing garbage instances produced by it.
Here's another attempt, one that works. Also StringIdMapperTest is changed
to encode strings that were seen as troublesome previously, namely "1",
"2"... a.s.o.