fixing filter() call; scaling # of required slaves by total # running