Added check for taxtypes still in use