Game mode override not working till i rename the custom game mode

Yeah its a minor bug mayb, but costs a lot of time figuring out is it a bug or we did something wrong. Was working on UMG for first time and it was jus wasn’t working that time