Number of games in a duel?

If I start a new duel and set the number of games to 3, I assume that this means play a duel which is the best of three games (ie. the first player to win two games is the winner). Except if I deliberately conceed the first two games it does not end the duel but instead invites me to start game three even though my opponent has already won the duel. Is this correct or should it end the duel after two games? I think it should be the latter.