fix not to add history on shib about scheduled queries