v.19.11Bug Fix

Fixed Logic of Arrayenumerateuniqranked Function

Fixed logic of arrayEnumerateUniqRanked function. #6423 (alexey-milovidov)