Fixes RSM in recent-items by using global ids.