fix casting issues for merge/split reconfig plans