This greatly improves performance when querying logs for a single thing or a single state/event/action.