tiny bugfix for edit_type

smallest pr to date?

(bogus associations recently removed previously allowed this to sneak by)