insert mapped list items at the correct index

Line 90 says: // The indices in the mapped list are the same so lets just splice it out

Which is wrong without this fix, as items are always added to the end of the list.
Merge pull request #294 from iamnoah/patch-1

insert mapped list items at the correct index