OK, I'm going to stop thinking so hard.

Revert to what you had when you first posted the thread. Now remove the break statements in your insert function. Report back.