Melatonin is short-acting; it wouldn't have been in her system that long.

I would advise talking to your pediatrician if you have sleep concerns.