I am facing more frustration with my Wallace famil;y

Having found the death cert for Agnes Wallace wife of George Wallace. I now have a problem as to who the parents of Agnes really are I know she was ms Thomson.
On the death cert it lists parents as Andrew Thomson and Margaret Thomson ms unknown and Agnes as aged 72.
the trouble is Scotlands people do not give me Andrew & Margaret as parents for Agnes Thomson b 1790?
IGI gives me
Agnes Thomson b 14th June 1790
c 20th June 1790 Barony Lanark Scotland
Parents
Father Andrew Thomson
Mother Margaret McAlester.
When I look for these on Scotlands people I get
Andrew Thomson b 23rd Nov 1762. no other children come up with a search.
Is it possible that these are the Parents of Andrew Thomson Father of Agnes.???
Also this family has been sealed into the Mormon Church and parents given as James Thomson & Elizabeth Frew on the Ordinance Record.
Any suggestions please as I feel iam going around in circles with this one.
Regards
Margaret.
duplicate post removed - Andrew Paterson