fix BufferUnderflowException when a message id is used

The IndexMessageFolder erroneously expected the payload data to contain
the message id. This was a relict from the previous version.