RESTInternalStorage cursor bugs fixed