db: MessageInserter decodes message only if proper length.