Fixed edit form duplication bug.