(bug 5147) Allow different query settings for different related events