Fixed ipid sequence calculation in case 16 bit values are flipped over