Solve bug where equally sized lists would always be considered unequal