Fix PR94401 by considering reverse overrun