Previous_cursor should be int64