fix(viewService): No error on clearHistory for empty history