Added a little intelligenge when choosing tied types