Fix multi day bug on agenda