Fix crash after remove row