Fixing a select bug now that #chart is gone.