This is needed for the new granular depsgraph, otherwise graph is not containing all the operations needed for proper update. And the same is actually needed onwhen removing shape key.