Fixed bug breaking add form in admin.