Scan for matching frames if no explicit framespec is provided.

Fixes #713.