Issues/77

Fixes bug where path is matching too much.