I tried it again and it didn't work but I have some images. Comparator coming out of the block, 5 redstone going into another comparator into a block powering the dispenser shearing the beehive. There was a campfire underneath the hive. I don't know if that makes a difference.
Where did you get the bee nest from? Did you get it using Ctrl + Pick Block?