Fixed the weird loading issues for the results page.