Reenable ability to clear default profile

Regression introduced by 7d1800e00c56bb334312ac153bbe10ecf8c625c7

Fixes #15698