@dbu I am wondering if the candidates strategy is the right place for the responsibility of building the query restriction. It seems that it might be better for the route provider to build the query restriction based on the returned candidates since it already knows abut the PhpcrQueries.