Error trap invalid corpus names