Bugfix.

Fixes an issue if the number of engines per node is not specified. Defaults to the number of engines on the master if this is unspecified.