TLists Reporting Incorrect Counts?

BlitzMax Forums/BlitzMax Programming/TLists Reporting Incorrect Counts?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Has anyone experienced TList returning 1 from the Count() method despite not actually containing any objects? I don't much fancy producing a small example from a huge game engine, so I'm hoping that someone might have come across it before and be able to give me an idea where the solution might lie.

I'm still using 1.28 if that makes a difference. I don't think there were any bugs fixed with TLists in 1.30 though, were there?

EDIT: I forgot to mention that I've overridden the compare method and I sort the list often. Not sure if that would make a difference. Perhaps.