NDMeshStreamer: fixing a bug in the array interface due to improper casting