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