Fix for config check
Merge pull request #306 from wshafer/master

Fix for config check