Don't exclude pending weak references while copying resources inside database
Excluding pending weaks references should be done when exporting but if we know that the tg is about to be integrated at once we should also include weak references. Case for this is copying of a symbol: without this change the mapping information to the component is lost.