Filtering out old dates in repeater - working on one page, not the other

I have a repeater that is filtering out old events from a database so they don’t show in a repeater.
This is working great on one page, but the same code isn’t working on another page with the exact same type of repeater. (the only difference being it is also only showing data that is a special event - however even when I turn this filter off it doesn’t work and filter out old events)

As you can see, the black background image has filtered out Feb 14, however the green background doesn’t.

PAGE CODE:
import wixData from ‘wix-data’ ;

function datefilter () {
var d = new Date();
$w( “#dataset1” ).setFilter( wixData.filter()
.ge( “datetime” , d)
);
}

$w.onReady(() => {
$w( ‘#repeater2’ ).onItemReady(($wInRepeater, itemData) => {
const thereIsNoUrl = !itemData.url
if (thereIsNoUrl) $wInRepeater( ‘#button2’ ).collapse()
})
});

What on earth am I doing wrong?

Thanks hugely in advance.