Fix for assertion with no path