corrected a bug in ObservableQuery