Added a trick to save a run when the query is invalid.
Forgot retab.