Fix invalid config check
Merge pull request #2 from DASPRiD/bugfix/invalid-config-check

Fix invalid config check