Fixes check if Router object exists.