Do not rely on config->enumerate being set

Fixes #13