Added check for mismatched Match <-> Period relations.

Check added to recompute.py that changes the period for all matches
where date < start or end < date to the correct one.