Allow results to be empty
Fixed special case when path become empty