Prevent another crash in heap-stats