Added error for no classes on searh page.