Loopholes have to be intentional. Lawyers who write this stuff know what they are doing. It's what gives politicians power. They have the ability to help or hurt people, and they often abuse the power.