Fix immediate change sync on search
Fix immediate change sync on search

A typo prevented us from waiting on the correct task.  Also, remove
a stray debug line.

Change-Id: I9e8e6aed2246a2b1754f738c2c871e3e36bd7d3d

openstack/gertty,stackforge/gertty,aspiers/gertty