(search) Fix issue with failing to index images without a solution
(search) Fix issue with failing to index images without a solution

Closes #812

astrobin/astrobin,astrobin/astrobin,astrobin/astrobin,astrobin/astrobin