Use correct API parameter to avoid search JS exceptions

API parameter seems to have changed.
Make sure it points to correct id not undefined

T78216

Change-Id: I42a2c389c6215ba7292f6f479663eae2a568e0ef
Merge "Use correct API parameter to avoid search JS exceptions"