Check if atom exists before derefing val in Cursor stop method