When a swimming climber reaches a vertical wall, he transitions into a climber, which is usually desired. However he does this even when diving (i.e. swimming below the waterline) and then climbs underwater. But in this situation is makes much more sense to simply turn around at the wall, without climbing at all.
I already fixed this bug.