[FIX] openupgrade_80: Must search via SQL to avoid getting virtual ids.

This solves the issue when `.search()` returns virtual ids instead of DB-level ids.  The `calendar.event` does this when recurrent events are found.