Fix thread item validation