Fix defs removed on query error