Fixed some things about image searchign that just were not working.