- Fixed two bugs in the Repository and Scenario classes.