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
A list of bugs is available in the Google App Engine SDK project on Google Code.
The issue tracker is at http://code.google.com/p/googleappengine/issues/.