idbKeyRange was incorrectly wrapped.

(needs a proper test, fwiw.)