Delete exported content only when the last one finished exporting

@tan-tan-kanarek Added handling in case of convert profile as well.
BTW doing the query so I count on un-closed assets status makes sure that once this condition is false than the convert profile is also closed.