I cannot reproduce this, so I don't believe it to be a bug. The code is pretty clear here so I can't see any particular reason this would happen.
Have you ever manually deleted comments from the database? Or is there any other situation that might account for this, such as deleting the comments through some sort of spam/approval action? Or could there be some sort of add-on involved?