Fixed bug in adding many paths. Add a line chart only if not already hidden.