Check that longer subsequences aren't matched