Remember the 1841 census does not give any family relationships. If Daniel was recently widowered, then Margaret could easily be a sister.