Prevent exception when checking isActive on an intermediate route