Fix data and middle edge.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>