[Olena-patches] 2089: Fix a first bug in the watershed.