OF-1219: Fix class cast exception
OF-1219: Fix class cast exception

akrherz/Openfire,igniterealtime/Openfire,akrherz/Openfire,guusdk/Openfire,GregDThomas/Openfire,igniterealtime/Openfire,guusdk/Openfire,guusdk/Openfire,GregDThomas/Openfire,guusdk/Openfire,guusdk/Openfire,igniterealtime/Openfire,igniterealtime/Openfire,akrherz/Openfire,GregDThomas/Openfire,igniterealtime/Openfire,akrherz/Openfire,GregDThomas/Openfire,GregDThomas/Openfire,akrherz/Openfire