[DELETE] Removed the concept of Last_ID table, because it is hard to
maintain.
[FIX] Fixed next_id change in delete() methods.