Okay I think I found out what is the problem. On the screenshot below you can see :
- in red the TPs that were took for SLs
- in green the TPs that were counted as TPs
- in blue the propers SLs
As you can see, the TP in red have all one common thing, they weren't closed as their proper TP (check price column).

So I have checked the block info of "check how it was closed" and it says :
"For each closed trade we know its Close Price (the price at which it was closed), SL and TP levels. The block simply checks whether the Close Price is the same as SL or TP."
I'm gonna try later today if that comes from the fact that I deleted the rules in project options but in the meantime I am wondering 2 things.
First is there a way for the EA to read the comment ? (I would read the comment of the last closed position to check if it's TP or SL)
Second is there another way to check how it was closed ? Maybe one that would have a tolerance around the closing price.