Fixed thumb image issue with search function