Also take ignore_none_values into account for the required check