I'll add a comment to explain the need for the MIN more clearly.