Fix for unordered sublists not being matched.

Fixes issue #96