Corrected LinkedList::offsetExists for empty list

Corrected LinkedList::offsetExists for empty list