Better join ids in generation search link