Fix bug in top3_oracle