I was puzzled as to why the children of Richard and Mary in 1860-70, were not with them in 1850, but children of the same names and ages were with James and Mary.
It may mean nothing, but I looked at the possible history of Richard Lewis, son of Richard Lewis, a farmer, who married Mary Ann Hotchkiss on 3rd December 1838 in Shrewsbury.
In 1841, he was an Innkeeper in Condover, Shropshire, about 25 miles from where James Lewis was an Publican/Innkeeper.
https://www.familysearch.org/ark:/61903/1:1:MQRK-5Q2The census indicates that he wasn't born in Shropshire, and there is a match for a baptism in Llansanfraid-ym-Mechain on 5th March 1807, son of Richard, a farmer, and Eleanor. The abode of Mary Dickin's father was Llansanfraid/Llansaintffraid on his burial record.
Following Richard's baptism, a number of other baptism for children of Richard, a farmer, and Eleanor, were in Broniarth.
A James Lewis was a witness to the marriage of Richard's brother, David, in 1833. The signature isn't very different from the one on his marriage, considering that it was nine years later and restricted in height by the one above.
Pure speculation, but where all of them James and Mary's children? Perhaps Richard and James were related, or acquainted, and the children were in the care of Richard and Mary. It often happened when one or both parents died.
There are some trees which have Richard and Eleanor marrying in Llansanfraid-ym-Mechain in 1805. They don't have Richard in 1807, possibly because he wasn't born in Broniarth. Also a lot with Mary Ann Hotchkiss, but not her marriage to Richard.
David