Fixed the gridValues parsing and added the "config_id_" key to the actual SQL query.