Fixed incorrect check for enabled feature

Thanks to @eluclash for spotting this

Fixes #36. This time for real!