The person was baptised. If the person is living their life as a baptised christian then why would God reject someone who is living their life correctly and who believes they are validly baptised?
The bible says whole families went to be baptised. Families include children.
None of us know the mind of God but I doubt he's going to get technical in order to trick people and send them to hell.