Fix getModelOrCreate method in Store