[#51816839] Switch to ternery operator