fixes an issue where broken journals with exactly the same
dates/timestamps are returned twice: the filter then returned two
identical work_packages. This adds the max(id) to the journal-select,
which will then only return one of the identical work-packages.
Supports parts of the scenarios.