Make sure media galleries get deleted.