#246 Fixed team validation