R.D.
As long as you're able to pick up the child to properly perform infant heimlick, continue to do so. Usually around age 3 (large kids) or 4 is when you get on your knees and perform the 'adult' heimlick on a child.
I used to be an EMT, this is how we were trained.
And good for you for staying calm and taking care of it!!