It does, I've tested it with >10000 tracks.
The most frequent cause for such broken output is garbage in tags, please read the discussion starting from
this post and try to find whether some corrupt files cause this.
Of course, there could also be a bug, so if you don't find anything, let me know, I'll have a look at it later (very very busy ATM).
Regards
nickless