recentcollect: fix small regression from last commit

This should fix a small regression brought by my changes to recentcollect. 


@Pascal de Bruijn: could you please double-check?