Fixed the bug where no new path contexts were built in the context of a join path.