"You can't pick some groups and not others," a lawmaker said.