Added some forgotten code

- Added an else to set the values or ‘equalFront’ and ‘equalRear’ to
false to prevent errors (specifically using an undefined variable) in
the next if()…else statement.