Extra robustness in the code that causes cursors to return NULL when they