Last SQL-Query: {SELECT SQL_CALC_FOUND_ROWS DISTINCT nti_posts.*, MIN(nti_postmeta.meta_value) as EventStartDate, MIN(tribe_event_end_date.meta_value) as EventEndDate FROM nti_posts INNER JOIN nti_postmeta ON ( nti_posts.ID = nti_postmeta.post_id ) LEFT JOIN nti_postmeta as tribe_event_end_date ON ( nti_posts.ID = tribe_event_end_date.post_id AND tribe_event_end_date.meta_key = '_EventEndDateUTC' ) WHERE 1=1 AND ( nti_postmeta.meta_key = '_EventStartDateUTC' ) AND nti_posts.post_type = 'tribe_events' AND (nti_posts.post_status = 'publish' OR nti_posts.post_status = 'acf-disabled' OR nti_posts.post_status = 'tribe-ea-success' OR nti_posts.post_status = 'tribe-ea-failed' OR nti_posts.post_status = 'tribe-ea-schedule' OR nti_posts.post_status = 'tribe-ea-pending' OR nti_posts.post_status = 'tribe-ea-draft') AND (nti_postmeta.meta_value >= '2019-11-17 10:07:56' OR (nti_postmeta.meta_value <= '2019-11-17 10:07:56' AND tribe_event_end_date.meta_value >= '2019-11-17 10:07:56' )) GROUP BY nti_posts.ID ORDER BY nti_posts.post_title ASC, EventStartDate ASC, nti_posts.post_title ASC LIMIT 0, 10000}