Check out
http://uboat.net/articles/index.html?article=45
Negative refraction: during the summer temperature of water decreasing by depth of the water. Sound wave is bending towards the sea bottom. If submarine is on smaller depth, near the sea surface, sonar can’t detect the submarine. Range of the sonar is bigger if the submarine is merged on deeper depth.
Still a pretty gutsy thing to count on.