[Driver::Operations] Fix GCode object iterating.