Changed knows path flag.
Changed where and when the flag gets set so it works in the display panel.