Minor fix in tasks views (apply_mag_field, array_extrema)