Validate skill tree to prevent it from breaking the UI Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com>