A woman I know had to rehome her quite elderly dog as she nipped her 2 year old. She put up a big paragraph on Facebook about how devastated she was but couldnt risk the dog doing it again... sorry but you should have been keeping a proper eye on your child & at 2 years old teaching it how to behave around the dog. I can see R doing that sort of thing in future when really the accident would never happen if the child has been properly supervised & shown how to treat the animal!
sorry it really winds me up when I see these things happening!