Leagues are updated every 2 minutes. Anything can happen at the very end: other players will also be trying to steal gems and get higher rankings. In other words, you may have been knocked out of the top 4 at the end of the round, but you may have moved up again after the round has finished and the winners have been promoted to the next league. Better luck next time! You will beat this league soon.