Im not seeing anything special here causing this
Just running this query itself caused all the hidden tables reappear
SELECT
    MSysObjects.Name,
    MSysQueries.Attribute,
    MSysQueries.Flag,
    MSysQueries.Expression,
    MSysQueries.Name1,
    MSysQueries.Name2
FROM MSysObjects...