Refactor config class 825

Fixes #825 
This particular parsing check appears to have been lost...