Fix for #7 - Files marked as not required return errors on type if not uploaded