fix bug in DC_CONFIG_VAL where query can cause a NULL deref. for #3894
===VersionHistory:None=== bug never shipped.