fixed/improved recommendations repair code

We have to remove all existing `SessionResourcesTracker`s when repairing the recommendation structures as these trackers store resource objects that might not exist anymore.