Revert "Use #select instead of #reduce in uploads detection."

This reverts commit 9a61be1a20a1b19902718dadc1455efd280ff3f2.