[Fix bug 910770] Fix attribute setting in dynamic formset population