bug fix in historical_infos_controller search