cleaning up force readPreference to primary with $out
use the correct input collection for aggregation