Two childcare workers who pleaded guilty to assaulting a misbehaving toddler have avoided conviction.