Move nansum warning in 1.8

Warning should only be issued for actual empty slice.