fix bug : "freeze when user click `drafts to posts`"

When you use `this.model && {}`  condition, this will always true. 

For example:
~~~
if ({}){
   alert("true");
}
~~~
will print true in your browser.


So `nearestPath ` method  will loop infinitely and freeze  user browser.

This patch is just a workaround to fix the condition to use `nearestPath` normally. I don't know whether  it breaks other functions or not.