A federal judge has dismissed two racketeering charges in a lawsuit brought by illegal immigrants who worked as Wal-Mart janitors, finding that they failed to explain how any violations of U.S. immigration law caused them economic harm.

The lawsuit’s other charges, including failure to pay overtime and minimum wages, still stand, but no trial has been scheduled.