fix segfault when playlist item deleted

if there was an end of playlist sentinel in the queue then it crashed.
now fixed