Corrected a couple of minor errors leading to a non-graceful bailout of the vis builder