Pipe collision detected - how to merge tables?