Bug 3153

This code adds event scoping to finding scheduled events. This change was made in response to ticket #3153.