Search: Prevent unneeded API request when there aren't any titles

Watchlist stars no longer searches for [undefined, undefined, undefined],
caused by looking at other <ul>s that happen to be in the search section.

Bug: 63317
Change-Id: I2a09523ba1128747b477ec4a0c16a3183bdd022b