Fixed bug with zero-sized covariance arrays