fix not to add query marked "scheduled" to history