Fix image ordering issue in discover page.