Fix __eq__ for packets