sonata-project/SonataAdminBundle — pull request #1033 by mmucklo (2012-11-20 00:11:01+00:00)
Title: Fix issue with adding a new element to a Form element consisting of a collection / array

at 0 and not at 1, however the code was adding elements at the nth+1
element. Example:

Existing:
0: asdf
1: hjkl

Add element did this:
0: asdf
1: hjkl
3:

With this patch it should do this:
0: asdf
1: hjkl
2: