Segfault when invoking top with `-Hp <nonexisting pid`
In that case, task_show is invoked with index of -1, fix this by
checking that i greater or equal to zero
In that case, task_show is invoked with index of -1, fix this by
checking that i greater or equal to zero