Bug fix for the same_sequence() function.
Authored by: bugman 2008-04-13
Parent: [r5661]
Child: [r5663]