Fix bug where default of false is ignored

[#50082561]