Removed unnecessary assignment of self.current_index

Done for compatibility with RobotFramework v2.8.