The previous code to ignore down interfaces didn't account for implicit routes that come from interface addresses and netmasks. You can force the use of a route using a down interface with -e.