Fixed bug with more than one region and a desired executor count of 1.

Also, enforced that executor count is non-negative.