Workaround to not break when using 'limit' in a object store with a keyPath (index)