Fixes a regression from #26265, which made it so that the call only worked if all three parameters were provided.