Fixed checkIsNotParticipatingInProgramInScope to just query for the given program instead of iterating over a list.
Also fixed the error messages to show the correct message.
Patch by: Lennard de Rijk
Reviewed by: to-be-reviewed
from query import *from subqueries import *from where import AND, ORfrom datastructures import EmptyResultSet__all__ = ['Query', 'AND', 'OR', 'EmptyResultSet']