I first saw this with my edited #Temporary tables and indexes work and now see it with my simple SELECT 1 then 2 Test.
The first query, whether it is cached or a new one (by ensuring you go to a database that hasn't run the query yet), works fine.
But if you then click Run Query
again it is using another query. In the first case I think it is the original query before revisions were set up, and in the second one it is someone else's random query.