It makes perfect sense that if you tipped Gandalf's head back and lifted up his beard, there'd be candy in there. It took them long enough!