BUGFIX: correct error-checking when LDAP search returns no records
Use newer SpecialOrders table in place of SpecialOrderContact,
SpecialOrderID. Remaining todo SpecialOrderStatus
BUGFIX: updated query using SpecialOrders had wrong alias
BUGFIX: avoid a couple PHP notices