Fixes #6864 - adding api messages for extraction

why change from `unless skip_nested_id.include?(param)` to `if !skip_nested_id.include?(param)`?