FIX resource tracking on delete/move/rename refactorings