Add another situation when finding path.