Yea, we didn’t anticipate that ranged weapons would also have reach applied to them, so the reach code overloads the ranged attack code, and it ends up getting confused and counting as a melee attack just because the weapon has the REACH_ATTACK flag.
I’m adjusting the code to only trigger a reach attack if the target is in reach, that will at least let you avoid this issue in most cases. You’ll still be unable to fire a bow that has REACH_ATTACK at point-blank range, but… well don’t do that then.