Fixbug: remove message/subject/category when one message is last in category