Reset the temp iterator to an empty iterator when a list is empty. #363
Merge remote-tracking branch 'origin/master'