Add default value for active pool workers

Fixes #418
Ensure we set workers to 0

If no workers are found false is returned. Smarty is not able to set a
default on `false` values so we have to set it to 0 if the query failed.

Fixes #418
Merge pull request #428 from TheSerapher/issue-418

Issue 418