Bugfixing in Match
Test match flattening. Fixes #7.