[1] pry(main)> **Topic** .with_deleted.exists?( **SiteSetting** .guidelines_topic_id)
=> **false**
[2] pry(main)> **Topic** .with_deleted.exists?( **SiteSetting** .tos_topic_id)
=> **false**
[3] pry(main)>
They were indeed missing as suspected.
Thank you so much. It worked like a charm.