Fix wrong collapse ids in message api doc view