Support search by ID and rewrite chaining params