Fix crashes on missing data nodes