My guess is that they just weren't that vigilant about it. They thought about it to the extent of "let's only use things we believe are classic / nursery rhymes", but didn't go as far as checking that they actually were. Maybe a bit less so nowdays with the internet and all, but a lot of people weren't aware of this song's origins back then.