Not sure if I have fixed it now but Catherine Hamilton was listed as the wife of William IV of Lamington when she should be listed as wife of William III. William III was originally listed as being married to Marion Seton, I believe this was a mistake also. William IV was married to a Marion Hume, with whom he had several children including one Andrew Baillie V of Lamington, which is where the direct male line ends.
I have not seen any reliable records of any William V of Lamington so I think this needs to be removed by the curator.
See, for example, 'a history and geneology of the baillies of dunain... etc'
https://electricscotland.com/webclans/atoc/historygenealogybaillie.pdf