Thermostat probe goes outside between your UTH and floor of enclosure. The readings then cannot be altered by fluids from inside enclosure.
Your UTH is ONLY for a warm spot to lay and does almost nothing for ambient temperatures when properly regulated.
You have 3 temperatures to worry about: cool side surface, hot side surface and ambient.