Fix GPUCommandList crash on startup

GPUCommandListModel::index is being called with `row` = 0 when `item->children` is empty.