Better valid attachment checking.
Count the attachments properly in the debug text.
get() tries to look up the broadcast data.