Fix an issue when running with 0 reserved devs
Add capacity for batch running