There is a bug that an element, that is added in a concurrent thread, can be found by getValueForExactKey and not found by the following getValuesForKeysEndingWith.
The bug can be reproduced with Lincheck.
The scenario that can produce incorrect results:
Parallel part:
| put(aa, 4): null | getValueForExactKey(aa): 4 |
| | getValuesForKeysEndingWith(a): [] |