The Queen of Hearts

"The Queen of Hearts" is Episode 2 in Season 7.

Synopsis
When Sam bakes a pie crust and is in need of four-and-twenty blackbirds to put in it, everyone gets on the subject of nursery rhymes. Then the Queen of Hearts shows up unexpectedly, and ends up framing Jeff as the knave who lost her tarts.