Catch missing deleted profile error

@RuudBurger should we reset the profile of the media to default or None
in case this happens or leave it the way it is?