Fix histogram display after searching from home page, #9.