Fixed an error that caused incorrect VCs to be generated.