There is a bug here. The intersect underlying feature isn't working as it should when viewed through through the water shader. I don't understand the bug well enough to explain why the order of the shaders matters, but I've entered it into the bug tracker.
Matt