Fixed bugs in the indexation and objectrank evaluation.