Use smallest table as tie-breaker in choosing query plan