Fixing Issue #120 (When converting odt to pdf table of contents may have wrong page numbers)

Issue: https://github.com/dagwieers/unoconv/issues/120

I added cycle to update indexes two times.