Use __max_id table for highest id seen