Fixed condition for keep edges to blocks.

This partially fixes opt/fehler217.c.