Republican lawmakers are preparing to vote on a more narrow immigration bill that would allow immigrant children to stay in detention facilities with their parents for more than 20 days, senior White House and Hill officials tell ABC News.

The bill would eliminate the so-called Flores settlement that requires that children be released from detention after 20 days, fixing a flaw in President Trump’s executive order that mandates that children and parents not be separated during detention.

The House is scheduled to vote on a larger “compromise” immigration bill early next week that would include DACA, border security and visas. But the bill is not expected to get enough votes to pass in Congress. Sources tell ABC News that Hill leaders are expected to then vote on the more narrow bill.