Fix nullable VariantArray and Dictionary checks (#920)