Prevent segmentation fault when budget is enabled but stats disabled