odb: Error when streaming in more bytes than declared