HUE-2494 [search] Timeline remove doesn't delete the chart

Checked for a non null object on KO