partial fix for the sortedSearch use case