Proper implementation for deletion from mediastore.