added date_query parameter to get_posts function for getting connected tickets on table 5 export
fixed bug with placement of H:i:s append to date stamps in table 5 queries