Fixing bug where leaf nodes can be returned by follow_path in in-memory store.
Fixing bug where leaf nodes can be returned by follow_path in in-memory store.

google/playhvz,google/playhvz,google/playhvz,google/playhvz,google/playhvz,google/playhvz,google/playhvz,google/playhvz