MDL-44362 recentactivity: fix regressions from MDL-44055