The U.S. Court of Appeals for the Fourth Circuit on Thursday revived the NAACP’s lawsuit alleging the U.S. Census Bureau’s inadequate preparations for the upcoming 2020 census will lead to an undercount of minority populations.

The three-judge panel found in its opinion that it agreed with a district court ruling dismissing claims brought under the Administrative Procedure Act. But it ruled that the claims raised under the Constitution’s enumeration clause could proceed.