fixes #1526 Only update search part "nid"

Fix issue #1526 by only updating URI search part `nid`