Fixed target=NULL segfault in PrintList