patches to fix issues with 2.x

#10 is fixed by adding `_firstMatch` flag making `find_all` function stop looking for other paths after first match.

#11 is fixed just by reverting the potentially breaking change