rP14633 introduced checks in MoveToTargetAttackRange and CheckTargetAttackRange to not move formation member if they are attacking as one formation.
However check in CheckTargetAttackRange is causing members to never check their range, see example in #4951.
This is removing falsy check and replacing it with separate function in required places.