Fix duplicated checkbox when form is submit and return with errors