Fix filtering by end date with proper timestamp.