Merge pull request #4 from y-higuchi/yoshi

Add missing null check
Attempt to fix indexing issue
Merge branch 'master' of github.com:yoshitomo0912/blueprints-ramcloud-graph into yoshi