A message with "Trail" always means that the stop was moved. Check where your script is doing that. If it's unintended, it might also cause other bugs.