it was not initially designed to investigate chocolate and mood, and the data was taken from a larger study on the effects of cholesterol-lowering statins.
The study didn't distinguish between different types of chocolate (such as dark and milk chocolate, which contain different amounts of cocoa).