Add exceptions for blank records in tax categories migration

Fixes #4204