fix to ApproachRange can_operate and added test