Add fix for viewing orders in admin