Fixes errors introduced in merge linechart view