[index][intersection_content] Add a condition to make the code more robust and silence GCC 4.9.x warning about uninitialized variable.