Making sure we invalidate cached cursors.
Adding a few more comments.