In addition, the "immigrants as parasites" has a long and terrible eugenic history. Perhaps you unwittingly connected to that when making what probably seemed like a clever analogy (as my first sentence above says, I think the analogy points the wrong way).