Yeah this is like saying an undercover cop betrayed a drug lord when the reality is that he was never loyal to said drug lord in the first place. What Ward did was obviously a shitty thing to do but he was never loyal to SHIELD in the first place and was simply feigning loyalty in order to use it against them.