Presumably, the helicopter did see Ellie and the others hiding in Corrie’s house, which is why they blew it up. Clearly, the soldiers try to avoid hurting people when possible, but they will kill if they are threatened, evidenced by their attack on Corrie’s house and the shots taken at Lee and Robyn as they ran through town.