[#1846] Minor defect
[#1846] avoid call of findPrefixOf