fixing issue with lastIndexedEtags not being updated properly