Fix various of bugs in my initial changes for inline agg with join. Add regression suite tests.