reimplement the logic of matching date ranges between mfpak and batch structure, now handling date ranges that are subsets of other date ranges