bug fixes for MappedByteBufferSortedQueue