Had a bug in our implementation. If the list empties when the tail is at the last...