Change return value to max

Closes T368987 The code will select the maximum confidence and multiply it by 10 in order to get a value in the set ]1,1000]

Merge request reports

Loading