Hello, everyone!
I can't understand the reason for such a strange behavior of the Query function in a table.
Data from cells that are before the date are merged into one.
That's because you have a mixed data types in your source range/data. Try formatting your source data to plain text.