added logic to remove comments upon deletion of a message