Same output topic for table and stream

I think I know why the problem exists but not how to solve it. See the other topic