Avoid the bug in the sdk version of IDBKeyRange