Fix bug in submit_topology sparsej command.