Fix: Missing warn/crit/min/max values are incorrectly set to 0.

Fixes #5358