Thank you for your answer !
Situation is a little bit more complicated because of another trigger that is trying to match the bet. So, I will always have more matched back bets but I want to know if last placed back bet is matched. Because, otherwise "Selection Back Mathed is greater then 0 and Selection Back Unmathed is equal with 0" will always be true and the stake is incremented incorrectly.