The AUTO speedbrake is what you need to look into not only the air /ground logic.
As you ARM the speedbrake,the auto speedbrake will need a few things to operate such as weight on right wheel(air/ground),thrust lever angle,RA less than 10 feet and thrust lever at idle.
Now once you touch down(first time
),the speedbrake actuator will command the lever to extend UNLESS you have thrust (TRA>44 degr).
Now you are in the air again with the speed brake lever already having got the command to extend via the initial touch and is now waiting for you to be below 10 feet and close the thrust levers
You may be in air mode again but you activated the actuator at first touch..and your speedbrake is still on ARM mode.
In any case ,remember a light bounce increases your landing distance,a big bounce requires a go around.