v.19.14Bug Fix

Fixed Logic of Arrayenumerateuniqranked Function

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