better date filters.
Merge branch 'multi_bug_fix' into referral_fix