When updating the details grid, replace int with list when necessary.