[966895] Remove references to the current document on navigation