Range attack functions clean up, prevent possible nullptr checks.