Fixed issue with resolver returning /index.md when path is /foobar/