Issue 4078: Fixes for index queueing

Issue 4078: Fixes for index queueing

https://code.google.com/p/otwarchive/issues/detail?id=4078