Fix for issue with protected foreign key relations

If fiber image or file has one or many protected foreign key relations image or file source will not be deleted.