[fix] Fix loop indices in loop closure
Goal
Fix the "[ERROR] Error: could not cast the vertex" error.
Changes
First bug was a weird check on a vertex in Loop closure that is removed
Second bug was due to the fact that the loop indices were badly input to the graph optimizer
Results
The loop closure is well set