[FIX] web_calendar: reset dataset index if search result empty
[MERGE] forward port of branch 7.0 up to 5c2fb12