Fix checks for non-numerical config keys.