Custom meta fields content not retained in revisions or when restoring from trash

Hi,

I have noticed on many occasions that when either:

1. Restoring a post revision
2. Restoring a deleted post

The post meta is not kept from any custom meta fields generated by custompress.

Is there a work around for this? Example spotted this post with a possible solution although I imagine it would need building into the code:

http://wordpress.stackexchange.com/questions/32010/custom-field-values-deleted-when-trashing-custom-post-type

Many thanks,

Lee