Added ids to the messages so the client could reorder them if necessary. Multiple JIDs seems to be working now.