Fixed warning due to (legit) nil comparison
Fixed warning due to (legit) nil comparison

GraphKit/swift,CosmicMind/GraphKit,GraphKit/GraphKit-swift,GraphKit/swift,GraphKit/GraphKit-swift,CosmicMind/Graph,CosmicMind/Graph,GraphKit/GraphKit,CosmicMind/GraphKit,GraphKit/GraphKit