OMAHA, Neb. (WETV/CNN) – A decision in Douglas County, Nebraska juvenile court on Monday aims to put a family back together.

They were separated because of a video of a cursing toddler.

It was publicized back in January by the Omaha police union.

In the video, the diapered child is bombarded with obscenities and racial slurs by the adults around him.

The African-American toddler knocks down a chair and gives nearly as good as he gets, responding to some of the comments with an upraised middle finger and telling one of the adults at one point, “Shut up, bitch.” The adults laugh and prompt him to repeat other crudities.

Just another day on the Internet — until the police union in Omaha, Nebraska, posted the clip on its website to highlight what it called the “cycle of violence and thuggery” the community faces.

The boy and his 17-year old mother will remain in state custody, but a transition is underway.

An investigation led to the toddler’s grandmother, Kimberly Devers, losing custody of her grandson and her daughter, the toddler’s mother.

The State of Nebraska retains custody of them, but today the court allowed for a 30-day transition from the care of Trina Marion, the toddler mom’s aunt.

Essentially, mom and toddler now begin the legal trip home.

The order cites compliance requirements for counseling and other state programs during the transition.

And the police union says that’s fine by them.

“I’m satisfied that the requisite experts got involved in this case and examined it thoroughly. There has been a thorough investigation, and that they’re trying to do something,” John Wells, President Omaha Police Officers Association said.

Wells says the pattern of behavior the union wanted to emphasize is only to underscore a problem.

“We’re not here to broad brush-stroke families, but we do see a generational issue, especially as it relates to gangs and violent crime here in Omaha.”)

“And just a pattern of behavior that is very, very concerning, especially when you’re talking about the welfare of children,” Wells said.

For all the controversy the video’s publicity caused, wells says he’s certain a good result came from it.

“That without us putting the video on and drawing the attention on our Facebook page, this child would still be, potentially, in that dangerous environment,” Wells said.

Monday’s action gives the arrangement four months to work out.

If it does work out, custody could be returned to the family, and the case would be closed.