Added whack or not check to search.ejs