Fixed a simple exception in the AD sync code. Added an exception-generating task to ensure exception e-mails are being received properly.