Fix refs without items
Fix refs without items

This will fix an `Uncaught (in promise) TypeError: Cannot read property
'type' of undefined` error when an item has no data in references.

infinum/mobx-jsonapi-store