fixed policy routing bugs introduced by changing topology model