Fixed crash when no partnership factory is yet present