Reenable ability to clear default profile

Regression introduced by fe8e3672f555063fadbf652e3c557f5a438a3313

Fixes #15698