[Circular list] Fixed bug in reverse detection method