Fixed deletion of asset documents.