Dallas cop mistakenly thinks she is home and kills a man

Is it me nitpicking or is this description of the reason for her firing confusing?

As written it seems to be saying that did something innappropriate while being arrested. But I think they meant that the conduct leading to the manslaughter charge (i.e. the shooting) was the reason for the firing.