Fixed bug where determinRouting() would crash when trying to run a model in
TOPMODEL mode