Fix potencial problem with empty_stanza.