Final Ranged bug fix

The last currently known bug on the ranged unit is fixed