Fix the bug in "more counters in heap dump name"