Fix "back to future" bug on graphs