Fixed foreach/internal pointer issues in tax rates
Check null instead of model ID

That was a bug in Contao 3.1 something...