cursors return nextState after commit