net/i40e: fix TM hierarchy commit check