Fix the case where the virtual root is not the WorkingPattern's root.