Fixed crash with item having gem support modifier for gem not in DB.

Fixes issue #5 reported in other repo.