Fixes date select on pages with multiple dates