Fixed the formset bug.