Hmmmm.
A search for deaths of Margaret Taylor in Glasgow from 1861 to 1866 produces 30 results, of whom 13 have no indexed age.
Narrowing the search to those born 1810 plus or minus 10 years reduces the ones with ages to 3. All of these can be discounted by using their mothers' maiden surnames in the search.
The other surname of Margaret Taylor, 52, mother Montgomery, died Maryhill, is Sinclair
The other surname of Margaret Taylor, 65, mother McKinlay, died High Church, is Allan
The other surname of Margaret Taylor, 60, mother Alexander, died Hutchesontown, is Breckenridge
Of the 13 with no age indexed, five have middle names, and as far as we know the one we are looking for has no middle name.
That leaves eight possibles.
The other surname of Margaret Taylor, died 1862, Milton 644.7/99 is Ferguson
The other surname of Margaret Taylor, died 1862, Central, 644.1/1043 is also Ferguson
The other surname of Margaret Taylor, died 1865, Calton 644.4/758 is Mason
The other surname of Margaret Taylor, died 1865 Govan 646.1/61 is Kennedy
Margaret Taylor, died 1862, Anderston 644.8/573 has no other indexed surname
Margaret Taylor, died 1865, Calton 644.4/126 has no other indexed surname
Margaret Taylor, died 1865, Govan 646.1/302 has no other indexed surname
Margaret Taylor, died 1865, High Church 644.2/2278 has no other indexed surname
So that reduces the possibles to just four. Of course they may be children, or Margaret may not have died in Glasgow. So there's no guarantee that one of them is her. But at least you can be reasonably sure that she's not one of the other 26.
Unless she acquired a middle name in her old age, but it would only take minutes to check for other surnames of the five with middle names.