Fixed an issue with deleting position 0 in lists