Fixes #41.
Merge pull request #42 from michaelklishin/fix-pathpredicates

Fixes #41.