Correcting required and multiple attribute in some fields.