fixing search historian implementation