Fixed a bug where a control message would cause the dequer to blow up and
go into a endless loop. This should fix #1002