We're going to add a `state_key` column to the `events` table, so we need to add some disambiguation to queries which use it.