Fix highlight in realm menu to use key instead of name