[FIX] call set_message_last_post at the end to avoid errors from not yet
recomputed fields