Fixes #5933: Don't NPE on node display
Merge pull request #696 from ncharles/bug_5933/dev/npe_on_pending_inventory

Fixes #5933: Don't NPE on node display