Fix long in max_id since_id