Fixed bugs in InsertItem.

Potential bugs in deleteItem also.
Changed order to 100 and max_page to 1000.