Fix min repeat for edit

This should hopefully allow repeat group min of 0 on edits of existing
records as well as new records.

Jaanus is testing.
Minified form.js