It reads here like `store` is either assigned as `model.offlineStore` or as a boolean. What happens if `store === (model.collection && model.collection.offlineStore)` here?