I don't know about the keg, but next time increase alkalinity not with baking soda -- you're right about avoiding that -- but calcium hydroxide, sold as pickling lime. The calculations aren't straightforward cause the hydroxide part brings alkalinity up but at the same time the calcium is reducing RESIDUAL alkalinity. But there's good guidance on the net effect in John Palmer & Colin Kaminsky's book on water. It's a strategy for dark beers that should have no effect on "mineral" flavor, and in tests I've done adding it to deionized water the food grade picking lime works just as they suggest pure Ca(OH)2 should.