Fix null checking on Rickshawgraph