Update the post_save hook so it does not get executed when loading raw data
Merge fix for postsave hook