Fixes SI-6521, overrides Range#head to be faster

Backport of 63ba3d64a7002ef67f7f13083a18fe1042a3adba
Merge pull request #1866 from JamesIry/SI-6521_2.10.x

Fixes SI-6521, overrides Range#head to be faster