Fixes deprecation warnings in ContentSearchAdvanced.
Fixes ContentSearchAdvanced so that it can export paths properly.