Fixed foreign key check on item tax type deletion.