Fix duplicate tweets when using previous max_id