Currently, the game validity is only updated when a game ended.
In order to allow the client whether a game could be ranked or not, the server should update the game validity whenever a game option changes and include the validity in the game info sent to the client.