Added conditional to prevent linking to scenario if scenario field has
not been set.