Advanced search reference fix