Fixed bug with sending order emails to admin.