Guard against invalid reflect.Value.