Fixed a bug on scenario.py

Changed a condition within an if related to the routers