Fix property name for SQL when config is an object