[#51098785] Fix code missing from previous commit.