inside of the lake is the river "waterway = river), but outside og the lake it's "waterway = stream)

This is not correct.
but this is a big problem in most of the lakes here or in alaska

please all waterways as stream

best thing will be, when the line in the lake get an attribute like "in lake"