IDB: Index cursor complete advance() and iterate() support