Fix bug #10: Exception when republishing null cursor