Fixed use hash join pct to calc initial mem settings
Fixed issue in sqlgen when IN pred comes after test