Remove db query from tie breaker calculation