Fix for sending arrays as values