Fix sequence number modulo operand