Fix #warnings taking exponential time to compute

*sigh*
Oh, before it was using `node.warnings || []` to handle `nil` warnings.