[fix bug 909875] Fix 500 error in formset validation.
Merge pull request #479 from akatsoulas/909875

[fix bug 909875] Fix 500 error in formset validation.