Fix error when no charts exist and updatePageTitle is called
Fix error when no charts exist and updatePageTitle is called

mikesall/charted,sboora/charted,charted-co/charted,b-cuts/charted,chrismoulton/charted,sboora/charted,sboora/charted,charted-co/charted,chrismoulton/charted,thfield/charted,mikesall/charted,b-cuts/charted,thfield/charted,charted-co/charted,mikesall/charted