Fix loading events

Comparison of the dates "start" and "end" should be  with the operator "> =" and "<=".
When the comparison is done by > operator we loose some events.