Another try to fix a bug in CursorMock