Fixing check for config property.