Ten House Democrats voted with Republicans in favor of a motion to scrap a Democratic bill to fully fund the government and instead make sure federal workers are paid as the shutdown continues.

Democratic leaders decided to call up a bill Wednesday to fund the entire government. But just before the final vote, Republicans made a motion to erase that bill and instead vote on a measure to ensure federal workers are paid.

The GOP motion failed 200-215, and these sorts of last-minute motions fail every time.

But winning more than 10 votes from the other side of the aisle could be a sign that Democrats are increasingly looking for a way out of the shutdown, which is hurting federal workers with each passing week.

Last week, six House Democrats voted with Republicans on a similar motion.

The 10 Democrats voting with Republicans on Wednesday were Reps. Joe Cunningham of South Carolina, Sharice Davids of Kansas, Antonio Delgado of New York, Jared Golden of Maine, Josh Gottheimer of New Jersey, Conor Lamb of Pennsylvania, Ben McAdams of Utah, Max Rose of New York, Xochitl Torres Small of New Mexico and Jefferson Van Drew of New Jersey.

[Read more: Trump blames Democrats for shutdown, Americans blame Trump]