Check for undefined, but allow zero
Helheim data clamping and fixup