Its not a glitch, its the new real time ranking system, if you won and a few other players won before you or faster than you or got two wins while you got one or etc.. your rank will go down because the other players are(according to the ranking system) better than you, at least at the time.