Fixed SQL update bug where large JSON characterizations could not fit into the query buffer.