Surround swap cursor in onLoaderReset to try-catch