CRM-12472 - Custom tables being needlessly left joined into reports if they include a date field

You probably need to to pull my previous commit first or will get them mixed