Fix Creative Inventory Search data card NPE crash

- fix issue #484
- fix issue #478
Merge pull request #485 from simon816/datacard-npe-patch

Fix Creative Inventory Search data card NPE crash