Disconnected from game service due to maintenance. Got demoted

I was in queue for a ranked match when the message “Server shutting down in 30 minutes.” appeared. I thought “Yea that’s alright I can do one more game before that.” A couple of seconds later I joined a match and entered the lobby. Before the match started however, I got kicked out of the lobby and logged out of game. When I logged in the next day, I noticed I had lost alot of ranked points and was now in demotion. I looked in my match history and it said i had won the last four ranked games I played. I queued up and then lost a match and got demoted. This obviously made me very upset, and I feel like I really don’t deserve this.