Correct bug when max_id is smaller than since_id