Fixes #7870: support for auto-complete in image search

Indentation is off by one in this line