Replaced NAs with zeros in subset outputs