Be more careful about infinite direct sums

Thanks to JuanPablo
http://stacks.math.columbia.edu/tag/012A#comment-1035
http://stacks.math.columbia.edu/tag/012A#comment-1036