Fixed cleaning of date-filter database-query parameters which affect sending for notification-mails and edit-highlights