Fixed list crash issue during peek at head.