When an old workflow is loaded with converted widgets, those converted widgets can take the vae slot and convert the image input to a latent input. An explicit check is added to make sure the slot that is connected has type VAE to fix these converted workflows.