recent terrorist attacks have resulted in a lot more Muslim deaths than deaths of Westerners
I speculate that its only because the attacks been in nations with a large muslim population. Recent targets have been Westerners in SA, and Belgian, Spanish, Jewish people in Morrocco.
I tend to think of it as "collateral damage". The targeting to me is more revealing.