Fixed error in xmpp server selection