IMRU bug fixes

The relationship between partitionId and writerId was not sent out
in the correct way which caused dynamic aggregation to freeze.