finishedPageAtIndex only called if failedPageAtIndex is defined due to copy&paste error

When trying to call finishedPageAtIndex, it actually checks for the existence of failedPageAtIndex