Have no idea what was doing it - there was no problem for a year, until I included the data-check sub last week, and it continued even if the call to that was commented out. Hence the head-scratching.
I know it's just a patch for when it happens, but it's all I have time for right now.