Fixed toStringCursor method