Fix some other XMPP upgrade issues

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>