Got inner-region search working.

Fixes #591