Deleting the first comment of a topic (with no more comments) leaves the topic with zero comments. This is weird. The user that deleted the comment probably wanted to delete the whole topic.
I think that deleting the first comment should delete the entire topic. But maybe do that only if that's the are no more comment of the topic. It may make sense to delete the first comment and leave other comments if there are more than one.