Fix for intInRage function that does not exist (#49364 in forge)