fixes for working with Queue/Recno and searching by key/data pair