Using grouping messages by subject, the subject in the template if different removes the previous one to send and the message becomes ungrouped.