Revert "Simplified sendBacklog code"

This (partially) reverts commit e263ad91436725d996dc7096d1a7f332f9f4ef73.

Oops.