Added case when there are no scenarios (previously would fail because is undefined), consider when making client assign default scenario to