As far as I understand it, the game is looking too far back into the input buffer when the character lands without checking if the jump command it has found has been handled already or not.