MasterCatalog: simplify ProfilingMode list conversion

And test