Fix for none values in graphs

As title says...