Fix for withPath condition.