No need to query on taxhist when we know the inherited table.
Merge pull request #1439 from bendiy/taxperformance

Taxperformance