Steps to reproduce:
1. add a "post-mediapackage" operation to your workflow
2. make sure it is using "search" mediapackage type (the default)
3. add further operations after "post-mediapackage"
Incorrect version of the mediapackage is returned by "post-mediapackage" operation, causing subsequent operations to behave incorrectly and media to disappear.
"post-mediapackage" operation should not break further processing
Workaround (if any):
to your "post-mediapackage" operation.
The attached patch fixes the issue for me.