Fix bug where ahead/behind arrows weren't repeated for more than one ahead/behind