assembles datelife query. not returning results. don't know why.